/**create by liuhua at 2020年5月8日 下午2:59:30**/
package com.star.aries.constant;

import lombok.Getter;

public enum ErrorCodeEnum {
  SUCCESS(0, "成功"),
  PARAM_ERROR(716220, "参数错误"),
  SYSTEM_ERROR(-1, "系统异常");
  
  @Getter
  private int code;
  @Getter
  private String msg;
  
  private ErrorCodeEnum(int code, String msg) {
    this.code = code;
    this.msg = msg;
  }
}
